package com.ds.infrastructure.hyperspace.console.dao.mapper;

import com.ds.infrastructure.hyperspace.console.entity.page.TbPageWhere;
import com.ds.infrastructure.hyperspace.console.entity.table.TbMethodLock;
import com.ds.infrastructure.hyperspace.console.entity.where.TbCustomWhere;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: yaozhendong
 * @create: 2019-10-16 15:21
 **/

public interface TbMethodLockMapper {
    int insertSelective(TbMethodLock record);

    TbMethodLock selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TbMethodLock record);

    //自定义接口===========================================
    List<TbMethodLock> selectListForPage(@Param("pojo") TbMethodLock where, @Param("mapWhere") TbCustomWhere mapWhere, @Param("pageWhere") TbPageWhere pageWhere);

    int selectListForPageCount(@Param("pojo") TbMethodLock where, @Param("mapWhere") TbCustomWhere mapWhere);

    //物理删除
    int deleteByPrimaryKey(Long id);
}
